import { Body, Param, Controller, Get, Post, Patch, Query, Put } from '@nestjs/common';
import UserService from '../service/MemberService';
import { ApiTags, ApiOperation, ApiParam, ApiQuery, ApiHeader } from '@nestjs/swagger';
import { Page, results, Err } from '../common/back';
import { query } from 'express';
import { get } from 'http';
@ApiTags('授权验证')
@Controller("auth")
export default class AuthController {
    constructor(private readonly userService: UserService<any>) { }

    // @ApiOperation({ summary: '验证码', description: '验证码' })
    // @Post('app/verifyCode')
    // async verifyCode(@Body() body: any) {
    //     try {
    //         return new results(body);
    //     } catch (err: any) {
    //         return new Err(err.sqlMessage || '服务器错误', 401);
    //     }
    // }
}
